home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / Handmade / FragRsrc.h next >
Encoding:
C/C++ Source or Header  |  1997-02-13  |  974 b   |  48 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FragRsrc.h
  3.  
  4.     Contains:    Functions for using the resource fork of a code fragment
  5.  
  6.     Written by:    Jens Alfke
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     1/25/95    jpa        first checked in
  13.                                  ---Moved to ODSOM:Interfaces:Handmade:
  14.          <2>     1/12/95    jpa        Don't use obsolete Toolbox names [1211211]
  15.          <1>    10/24/94    jpa        first checked in
  16.  
  17. */
  18.  
  19. #ifndef __FRAGRSRC__
  20. #define __FRAGRSRC__
  21.  
  22. #ifndef __CODEFRAGMENTS__
  23. #include <CodeFragments.h>
  24. #endif
  25.  
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. #pragma lib_export on
  32.  
  33. typedef struct CFragResFile *CFragResFileRef;
  34.  
  35. OSErr    InitCFragResources( CFragInitBlockPtr, CFragResFileRef * );
  36. OSErr    FSpInitCFragResources( const FSSpec *, CFragResFileRef * );
  37. OSErr    TermCFragResources( CFragResFileRef );
  38. OSErr    BeginCFragResources( CFragResFileRef );
  39. OSErr    EndCFragResources( CFragResFileRef );
  40.  
  41. #pragma lib_export off
  42.  
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47. #endif /*__FRAGRSRC__*/
  48.